.lawyer-list {
  .ant-card {
    margin-top: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);

    .ant-card-body {
      padding: 24px;
    }
  }

  .ant-table-wrapper {
    margin-top: 16px;

    .ant-table-cell {
      .ant-tag {
        margin-right: 0;
      }
    }

    // 操作列样式
    .ant-table-tbody > tr > td:last-child {
      .ant-btn-link {
        height: auto;
        padding: 4px 8px;
        font-size: 12px;

        &:hover {
          color: #1890ff;
        }
      }

      span {
        margin: 0 4px;
        color: #d9d9d9;
      }
    }

    // 状态开关样式
    .ant-switch {
      &.ant-switch-checked {
        background-color: #52c41a;
      }
    }
  }

  // 新增按钮容器样式
  .add-button-container {
    margin-bottom: 16px;
    text-align: right;
  }

  // 新增按钮样式
  .ant-btn-primary {
    height: 32px;
    padding: 4px 15px;
    font-weight: 500;
    font-size: 14px;
    background: #1890ff;
    border-color: #1890ff;
    border-radius: 6px;

    &:hover {
      background: #40a9ff;
      border-color: #40a9ff;
    }

    &:focus {
      background: #40a9ff;
      border-color: #40a9ff;
    }
  }

  // 表格分页样式
  .ant-pagination {
    margin-top: 16px;
    text-align: right;

    .ant-pagination-total-text {
      color: #666;
      font-size: 14px;
    }
  }

  // 弹窗样式
  .ant-modal {
    .ant-modal-header {
      padding: 16px 24px;
      border-bottom: 1px solid #f0f0f0;

      .ant-modal-title {
        color: #262626;
        font-weight: 600;
        font-size: 16px;
      }
    }

    .ant-modal-body {
      padding: 24px;
    }

    .ant-form-item-label > label {
      color: #262626;
      font-weight: 500;
    }

    .ant-input,
    .ant-select-selector {
      border: 1px solid #d9d9d9;
      border-radius: 6px;

      &:hover {
        border-color: #40a9ff;
      }

      &:focus,
      &.ant-select-focused .ant-select-selector {
        border-color: #40a9ff;
        box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
      }
    }

    .ant-switch {
      &.ant-switch-checked {
        background-color: #52c41a;
      }
    }
  }

  // 表格头部样式
  .ant-table-thead > tr > th {
    color: #262626;
    font-weight: 600;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
  }

  // 表格行样式
  .ant-table-tbody > tr {
    &:hover > td {
      background: #f5f5f5;
    }

    > td {
      padding: 12px 16px;
      border-bottom: 1px solid #f0f0f0;
    }
  }

  // 空状态样式
  .ant-empty {
    padding: 40px 0;
  }

  // 加载状态样式
  .ant-spin-nested-loading {
    .ant-spin-container {
      min-height: 200px;
    }
  }
}
